package com.yz.food.cms.pojo;

import java.util.Date;

public class Food {
    /** id */
    private Integer id;

    /** 名称 */
    private String foodName;

    /** 库存 */
    private Integer quantity;

    /** 原价 */
    private Double oldPrice;

    /** 现价 */
    private Double nowPrice;

    /** 分类 */
    private Integer categoryId;

    /** 详细介绍 */
    private String detail;

    /** 重量 */
    private Double weight;

    /** 长 */
    private Double foodLong;

    /** 是否热门 */
    private Integer isHot;

    /** 高 */
    private Double hight;

    /** 宽 */
    private Double width;

    /** 状态 */
    private Integer foodStatus;

    /** 图片地址 */
    private String imgUrl;

    /** 介绍 */
    private String introduce;

    /** 保质期 */
    private String guarantee;

    /** 生产日期 */
    private String manufacture;

    /** 贮存条件 */
    private String foodCondition;

    /** 产地 */
    private String place;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public Food(Integer id, String foodName, Integer quantity, Double oldPrice, Double nowPrice, Integer categoryId, String detail, Double weight, Double foodLong, Integer isHot, Double hight, Double width, Integer foodStatus, String imgUrl, String introduce, String guarantee, String manufacture, String foodCondition, String place, Date createTime, Date updateTime) {
        this.id = id;
        this.foodName = foodName;
        this.quantity = quantity;
        this.oldPrice = oldPrice;
        this.nowPrice = nowPrice;
        this.categoryId = categoryId;
        this.detail = detail;
        this.weight = weight;
        this.foodLong = foodLong;
        this.isHot = isHot;
        this.hight = hight;
        this.width = width;
        this.foodStatus = foodStatus;
        this.imgUrl = imgUrl;
        this.introduce = introduce;
        this.guarantee = guarantee;
        this.manufacture = manufacture;
        this.foodCondition = foodCondition;
        this.place = place;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Food() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName == null ? null : foodName.trim();
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(Double oldPrice) {
        this.oldPrice = oldPrice;
    }

    public Double getNowPrice() {
        return nowPrice;
    }

    public void setNowPrice(Double nowPrice) {
        this.nowPrice = nowPrice;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Double getFoodLong() {
        return foodLong;
    }

    public void setFoodLong(Double foodLong) {
        this.foodLong = foodLong;
    }

    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    public Double getHight() {
        return hight;
    }

    public void setHight(Double hight) {
        this.hight = hight;
    }

    public Double getWidth() {
        return width;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    public Integer getFoodStatus() {
        return foodStatus;
    }

    public void setFoodStatus(Integer foodStatus) {
        this.foodStatus = foodStatus;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce == null ? null : introduce.trim();
    }

    public String getGuarantee() {
        return guarantee;
    }

    public void setGuarantee(String guarantee) {
        this.guarantee = guarantee == null ? null : guarantee.trim();
    }

    public String getManufacture() {
        return manufacture;
    }

    public void setManufacture(String manufacture) {
        this.manufacture = manufacture == null ? null : manufacture.trim();
    }

    public String getFoodCondition() {
        return foodCondition;
    }

    public void setFoodCondition(String foodCondition) {
        this.foodCondition = foodCondition == null ? null : foodCondition.trim();
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place == null ? null : place.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}